Browse Source

Merge branch 'dev' into feat/dev-eversense

Deniz Cengiz 7 hours ago
parent
commit
54f8af5287

+ 1 - 1
.github/CODEOWNERS

@@ -1 +1 @@
-*    @dnzxy @bjornoleh @MikePlante1 @AndreasStokholm @Sjoerd-Bo3 @t1dude @marv-out
+*    @dnzxy @bjornoleh @MikePlante1 @AndreasStokholm @Sjoerd-Bo3 @t1dude @marv-out @kingst @marionbarker

+ 1 - 1
Config.xcconfig

@@ -19,7 +19,7 @@ TRIO_APP_GROUP_ID = group.org.nightscout.$(DEVELOPMENT_TEAM).trio.trio-app-group
 
 // The developers set the version numbers, please leave them alone
 APP_VERSION = 0.8.1
-APP_DEV_VERSION = 0.8.1.1
+APP_DEV_VERSION = 0.8.1.3
 APP_BUILD_NUMBER = 1
 COPYRIGHT_NOTICE =
 

+ 16 - 0
Trio/Sources/Localizations/Main/Localizable.xcstrings

@@ -65939,6 +65939,9 @@
         }
       }
     },
+    "Carbs on Board (COB)" : {
+      "comment" : "Live Activity widget icon label for Carbs on Board (COB)"
+    },
     "Carbs On Board (COB)" : {
       "localizations" : {
         "bg" : {
@@ -127960,6 +127963,9 @@
         }
       }
     },
+    "Glucose and Trend, no Delta" : {
+      "comment" : "Live Activity widget icon label for Glucose and Trend, no Delta"
+    },
     "Glucose Calculation" : {
       "localizations" : {
         "bg" : {
@@ -131477,6 +131483,9 @@
         }
       }
     },
+    "Glucose, Trend, Delta" : {
+      "comment" : "Live Activity widget icon label for Glucose, Trend, Delta"
+    },
     "Glucose: %@" : {
       "comment" : "Glucose: %@",
       "extractionState" : "manual",
@@ -145988,6 +145997,9 @@
         }
       }
     },
+    "Insulin on Board (IOB)" : {
+      "comment" : "Live Activity widget icon label for Insulin on Board (IOB)"
+    },
     "Insulin On Board (IOB)" : {
       "localizations" : {
         "bg" : {
@@ -151792,6 +151804,9 @@
         }
       }
     },
+    "Last Updated" : {
+      "comment" : "Live Activity widget icon label for Last Updated"
+    },
     "Latest dev: %@" : {
       "localizations" : {
         "bg" : {
@@ -262922,6 +262937,7 @@
       }
     },
     "Total Daily Dose" : {
+      "comment" : "Live Activity widget icon label for Total Daily Dose",
       "localizations" : {
         "bg" : {
           "stringUnit" : {

+ 15 - 6
Trio/Sources/Modules/LiveActivitySettings/View/LiveActivityWidgetConfiguration.swift

@@ -383,17 +383,26 @@ enum LiveActivityItem: String, CaseIterable, Identifiable {
     var displayName: String {
         switch self {
         case .currentGlucoseLarge:
-            return "Glucose and Trend, no Delta"
+            return String(
+                localized: "Glucose and Trend, no Delta",
+                comment: "Live Activity widget icon label for Glucose and Trend, no Delta"
+            )
         case .currentGlucose:
-            return "Glucose, Trend, Delta"
+            return String(
+                localized: "Glucose, Trend, Delta",
+                comment: "Live Activity widget icon label for Glucose, Trend, Delta"
+            )
         case .iob:
-            return "Insulin on Board (IOB)"
+            return String(
+                localized: "Insulin on Board (IOB)",
+                comment: "Live Activity widget icon label for Insulin on Board (IOB)"
+            )
         case .cob:
-            return "Carbs on Board (IOB)"
+            return String(localized: "Carbs on Board (COB)", comment: "Live Activity widget icon label for Carbs on Board (COB)")
         case .updatedLabel:
-            return "Last Updated"
+            return String(localized: "Last Updated", comment: "Live Activity widget icon label for Last Updated")
         case .totalDailyDose:
-            return "Total Daily Dose"
+            return String(localized: "Total Daily Dose", comment: "Live Activity widget icon label for Total Daily Dose")
         }
     }
 }